//
//  SaveScoreLayer.h
//  Asteroids
//
// This class will implement a cocos2d-iphone layer that will show the
// names and high scores associated with the device, and allow the user
// to enter a new name for the device.
//
//  Created by Charles@Kollar.com on 11/8/10.
//
//
//  This program is free software: you can redistribute it and/or modify
//  it under the terms of the GNU General Public License as published by
//  the Free Software Foundation, either version 3 of the License, or
//  (at your option) any later version.
//
//  This program is distributed in the hope that it will be useful,
//  but WITHOUT ANY WARRANTY; without even the implied warranty of
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//  GNU General Public License for more details.
//
//  You should have received a copy of the GNU General Public License
//  along with this program.  If not, see <http://www.gnu.org/licenses/>.
//

// When you import this file, you import all the cocos2d classes
#import "cocos2d.h"

@interface SaveScoreLayer : CCLayer <UITableViewDataSource, UITableViewDelegate, UITextFieldDelegate, UIAlertViewDelegate> {
	NSMutableArray *localUsers;
	UIButton *addButton;
	UIView *oglView;
	UITableView *userTable;
	BOOL ignoreInput;
}

@property (nonatomic, retain) NSMutableArray *localUsers;
@property (nonatomic, retain) UIButton *addButton;
@property (nonatomic, retain) UIView *oglView;
@property (nonatomic, retain) UITableView *userTable;
@property BOOL ignoreInput;

- (id)init;
- (void)dealloc;

@end
